package com.jdd.modules.projectusertype.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jdd.modules.projectusertype.entity.ProjectUserType;
import com.jdd.modules.projectusertype.mapper.ProjectUserTypeMapper;
import com.jdd.modules.projectusertype.service.IProjectUserTypeService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 项目人员类型
 * @Author: jdd
 * @Date:   2022-03-23
 * @Version: V1.0
 */
@Service
public class ProjectUserTypeServiceImpl extends ServiceImpl<ProjectUserTypeMapper, ProjectUserType> implements IProjectUserTypeService {


    @Resource
    private ProjectUserTypeMapper projectUserTypeMapper;


    @Override
    public IPage<ProjectUserType> findList(Page<ProjectUserType> page, List<String> projectCodes) {
        IPage<ProjectUserType> iPage =  projectUserTypeMapper.findList(page,projectCodes);
        return iPage;
    }
}
